<% include ../common/top.ejs %>
  <title>登陆</title>
  </head>

  <body>
    <div class="container" style="margin-top:100px;">
      <h1>登录</h1>
      <form action="/admin/login" method="post">
        <div class="form-group">
          <label for="exampleInputEmail1">用户名</label>
          <input type="text" name="username" class="form-control" id="exampleInputEmail1" placeholder="username">
        </div>
        <div class="form-group">
          <label for="exampleInputPassword1">密码</label>
          <input type="password" name="password" class="form-control" id="exampleInputPassword1" placeholder="Password">
        </div>
        <button type="submit" class="btn btn-default">登录</button>
        <a href="/admin/reg" class="btn btn-info">注册</a>
      </form>
    </div>

  </body>

  </html>
